package STUDENT.TRANBANGTUNG.day05_13_2016.login;

public class loginController {
	private loginModel m_model;

	public loginController() {
		m_model = new loginModel();
	}

	public boolean checkuser(loginObject objlogin) {
		if (m_model.ktsutontaiTK(objlogin) && m_model.ktkichhoatTK(objlogin) && m_model.ktsoduTK(objlogin)
				&& m_model.ktlockunlockTK(objlogin)) {
			return true;
		} else
			return false;
	}
}
